package com.crm.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("contracts")
@ApiModel(value = "Contract对象", description = "合同实体")
public class Contract implements Serializable {
    private Integer id;
    private Integer activityId;
    private Integer businessId;
    private String channel;
    private String contractNo;
    private Integer courseId;
    private Float coursePrice;
    private String createBy;
    private LocalDateTime createTime;
    private Integer deptId;
    private String discountType;
    private String fileName;
    private LocalDateTime finishTime;
    private String name;
    @TableField("`order`")
    private Float order;
    private String phone;
    private Character status;
    private Character subject;
}


